# 方法1
a = input(':')
weeks = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
for week in weeks:
    if week[0:2] == a:
        print(week)


# 方法2
b = [week[0:2] for week in weeks]


